package com.jinmdz.app.api.api.model.common;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 字典请求数据
 *
 * @author LiCongLu
 * @date 2020-02-12 14:53
 */
@ApiModel(value = "字典请求数据", description = "字典请求数据")
public class DataCodeData extends BaseBean {

    /**
     * 类型编码值
     */
    @ApiModelProperty(value = "类型编码值", name = "typeCode", position = 1)
    @AnValidate(name = "类型编码值", required = true, code = EValidateCode.NO_LESS_ZERO)
    private Integer typeCode;

    public Integer getTypeCode() {
        return typeCode;
    }

    public DataCodeData setTypeCode(Integer typeCode) {
        this.typeCode = typeCode;
        return this;
    }
}
